package com.netsdk.lht2.push;

import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.collection.ListUtil;

import java.util.List;

// 先东西直行(1)，右转，左转，再南北 直行，右转，左转
public class RoadVehicleDataCblPcl extends  AbstractRoadVehicleData{

   private void init() {
        channelSet.addAll(CollectionUtil.toList("367","368","369","329"));

        //  东西直行    平城路-城北路-西侧-东HG  369 2,3
        List<String> straight = ListUtil.toList("369-2","369-3","367-2","367-3");
        directionMapping.put(Direction.straight,straight);

        // 东西右转 陈家山路-胜辛路-西侧-东HG  369 3    陈家山路-胜辛路-东侧-西HG	367 3
        List<String> right = ListUtil.toList("369-3-","367-3-");
        directionMapping.put(Direction.right,right);

        // 东西左转  平城路-城北路-西侧-东HG   369 1  平城路-城北路-东侧-西HG	367 1
        List<String> left =ListUtil.toList("369-1","367-1");
        directionMapping.put(Direction.left,left);

        // 南北直行时间  城北路-平成路-南侧-北HG	368 2,3  城北路-平成路-北侧-南	329 2,3
        List<String> straight2 = ListUtil.toList("368-2","368-3","329-2","329-3");
        directionMapping.put(Direction.straight2,straight2);

        // 南北右转  城北路-平成路-南侧-北HG	368 4   城北路-平成路-北侧-南	329  3
        List<String> right2 = ListUtil.toList("368-4","329-3-");
        directionMapping.put(Direction.right2,right2);

        // 南北左转  城北路-平成路-南侧-北HG	368  1   城北路-平成路-南侧-北HG	329  1
        List<String> left2 = ListUtil.toList("368-1","329-1");
        directionMapping.put(Direction.left2,left2);

    }

    public RoadVehicleDataCblPcl(String utc) {
        super(utc);
        init();
    }

    @Override
    public String getName() {
        return "城北路";
    }
}
